package com.xinqi.modules.databank.v2.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.databank.dto.req.question.CommonVideoPartDTO;
import com.xinqi.modules.databank.v2.domain.CourseResourcePartEntity;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;

import java.util.List;

/**
 * 课程项目文件资料关联(互动课件切片与互动视频互动环节)转换
 *
 * @author: system
 * @date: 2023/03/14
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class CourseResourcePartConvert {

    public abstract CourseResourcePartEntity create(CommonVideoPartDTO s);

    public abstract CourseResourcePartEntity newEntity(CourseResourcePartEntity s);


}
